import Taro from '@tarojs/taro';
import { View, Image, Text } from '@tarojs/components';
import './index.scss'
let app = Taro.getApp();
export default class Inspection extends Taro.Component{
    constructor(){
        super()
    }
    render() {
        return (
            <View className='inspection pt-2-5 pl-2-5 pr-2-5 ft34 fc_333'>
                <View className='bg_fff introduce pl-4 pr-9 pt-2 pb-2 flex flex-item-between flex-item-v-center'>
                    <Text>1.找到<Text className='fc_850'>急救箱二维码</Text></Text>
                    <Image className='introduce-img' src={require('../../assets/imgs/inspection/img_note_ewm.png')}></Image>
                </View>
                <View className='bg_fff introduce pl-4 pr-9 pt-2 pb-2 flex flex-item-between flex-item-v-center mt-2-5'>
                    <Text>2.点击“<Text className='fc_850'>巡检</Text>”按钮</Text>
                    <Image className='introduce-img' src={require('../../assets/imgs/inspection/img_note_xjan.png')}></Image>
                </View>
                <View className='bg_fff pt-6-5 pl-4 pr-10-5 pb-5-5 mt-2-5 fc_353'>
                    <Text>3.核对<Text className='fc_850'>位置、药品</Text>信息</Text> 
                    <View className='check mt-auto mt-5 ov-h pl-7-5 pr-7-5 pt-3-5 pb-4-5 ft28 fc_353'>
                        <View className='flex flex-item-v-center'>
                            <Image className='selected-img' src={require('../../assets/imgs/inspection/xjsm_icon-selected.png')}></Image>
                            <Text className='pl-2-5'>急救箱的位置</Text>
                        </View>
                        <View className='flex flex-item-v-center'>
                            <Image className='selected-img' src={require('../../assets/imgs/inspection/xjsm_icon-selected.png')}></Image>
                            <Text className='pl-2-5'>药品信息</Text>
                        </View>
                        <View className='flex flex-item-v-center'>
                            <Image className='selected-img' src={require('../../assets/imgs/inspection/xjsm_icon-selected.png')}></Image>
                            <Text className='pl-2-5'>拍照提交</Text>
                        </View>
                    </View>
                </View>
                <View className='default-btn mt-12-5' onClick={() => {
                    app.scan();
                }}>我知道了</View>
            </View>
        )
    }
}
